06. Case Study: Steps

GraphQL Case Study Steps

JAVA C2 L3 06 Demo Steps

The case study is a GraphQL API that retrieves a list of locations from a database. The code can be cloned from GitLab.

The REST API has the following components:

Sample Queries/Mutations
{
  findAllApplications {
    id
    owner
    address
  }
}
mutation {
  newLocation(
    name: "MBJ Airport",
    address: "Montego Bay, Jamaica airport location") {
      id 
      name
      address
    }
}
mutation {
  deleteLocation(id:1)
}